﻿
namespace Huirui.Cavan.Application.MainBoundedContext.Setting
{
    using System;
    using System.Collections.Generic;
    using System.Diagnostics.Contracts;
    using System.Linq;
    using Huirui.Cavan.Core.Settings;

    public class HuiruiProject : Global
    {
        #region Project Settings
        public new static IProjectSettings Settings
        {
            get { return Provider.ProjectSettings; }
        }

        public static IUserSettings UserSettings
        {
            get { return Provider.UserSettings; }
        }
        #endregion Project Settings

        #region protected Provider
        protected static IProjectSettingsProvider Provider
        {
            get { return BaseProvider as IProjectSettingsProvider; }
        }
        #endregion protected Provider
    }
}